#!/usr/bin/env python3
# -*- coding:utf-8 -*-
###
# File: do_listcompr.py
# -----
# Description: 列表生成式
# -----
# Created  By: Aim 2020-01-29 20:53:22
# Modified By: Aim 2020-01-29 21:41:29
# -----
# HISTORY:
# Date      	By	Comments
# ----------	---	----------------------------------------------------------
###

# print(list(range(1, 11)))

# print([x*x for x in range(1, 11)])

# print([x*x for x in range(1, 11) if x % 2 == 0 ])

# print([m + n for m in 'ABC' for n in 'XYZ'])

# import os

# print([d for d in os.listdir('.')])

L = ['Hello', 'World', 'IBM', 'Apple']

print([s.lower() for s in L])